package com.sanbi.erp.db.dao;

import com.sanbi.erp.db.domain.ProductGroup;

import java.util.List;

public interface ProductGroupMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ProductGroup record);

    int insertSelective(ProductGroup record);

    ProductGroup selectByPrimaryKey(Integer id);

    List<ProductGroup> selectByPrimaryKeyList(Integer productId);

    int updateByPrimaryKeySelective(ProductGroup record);

    int updateByPrimaryKeySelectiveList(List<ProductGroup> record);

    int updateByPrimaryKey(ProductGroup record);

    // 批量添加
    int insertSelectiveList(List<ProductGroup> productGroupList);
}